Fixed bug when mouseUp being called instead of MouseOut