fixed mouse-up event