Fixed issue where window doesn't resize vertically