Fix crash when opening a window after closing the focused one