Prevent cursors from panning image.