Additional state checking before pausing to fix resuming from background