Disable resizing main window