Disabled resizing of window