Added logic to switch the canvas mouse cursor to the default
'move', when the canvas is being panned.