rctao: main window restricted resizing