Changing how window size is set