Fix egregious state check for window focusability.
am: 3d0a74a9e4

Change-Id: I68aac94729227b30e2ba05bf2e89afae5a9debbf