properly restore system ui visibility flags if not fullscreen