Fix iOS 7 bug where backgroundLockVisible is not being set in time