Fix background pausing