Stop drag when mouse button was released outside window