isScreenLocked fix