fixed bug with mouse move