Keyguard: Correctly set the visibility