bugfix for scrolling with mouse