stop mouse events triggering on mouse-up