Stop dragging when the mouse leaves the browser