Edge case where animation async event fires after loading was hidden