fixed weird reset behavoir on mouseup #56