Fix mixup of horizontal and vertical wheel events (OSX and Windows untested)