Move setWindowSize around