Window gets maximized on startup