add a test for focus falling back to a window thats gone