Fixed crash when passcode check returns invalid while app paused.