Added a check to make sure the mouse button was down on mouseOut, fixes #3