Minor fix to scroll wheel handling