Fix bug with mouse wheel