Fix scroll handling on FF