BrowserSim has vertical scrollbars which are always shown. This makes the screen area to be smaller than on actual devices and horizontal scrollbars may appear when they should not: