fix bug with mouse wheel timeout