Added KitKat guard around onWindowFocusChanged for immersive mode