The No. 5 Lakers struggled offensively but had enough to get the win.