Prevent zooming when dragging the legend.