Disable maximizing of window