Fix the warning on the window lacking a root view controller.