fix($animate): ensure class-based animations always perform a domOperation if skipped

Closes #6957