Avoid unnecessary Rc clone in Window::new.