Maximizing and resizing of window were disabled.