Set the window's root controller