Revert recent changes to mouse wheel handling

This reverts commit 8d3ad50708f56c61a243b8b953c8eb4ca2ace8b7.
This reverts commit 4ff7ba5771b6349ce23edb651a9051fff5f67d48.
Silence possible loss of data warning