Bug 985037 - Fix lockScreenWindow visibility state