prevent default on mouse leave instead of triggereing a mouseup