Make sure there's always a focused window, even if there is only one window