window does not automatically switch to default size any more