fixed bug with mouse up