Stop mouse dragging from triggering visual mode