fix($animate): ensure class-based animations are always skipped before structural post-digest tasks are run

Closes #5582