Account for delay when emulating an animation callback
Improve fx delay test to verify callback

Before, the fallback callback emulated via setTimeout would fire first
because it didn't account for delay. Now that this is fixed, ensure that
it doesn't regress again.
Merge branch 'fx-callback-delay'

Closes #1040