Fix unnecessary scrollbars in windows