fix for scrollwheel in FF>3 (issue #1244)