Disabled window resizing and maximizing