Disable panning and zooming when cursor is on search panel.