Proper handling of background unpausing