Fix scrolling issues in Firefox