Fix scrollbars appearing in design mode.