Fix AnimationEffect.accumulate after 542502c33dbaf6101e2cedcd01e087855b95f067

Also add some tests
Fix re-ticks when setting composite on animation effects

See 542502c33dbaf6101e2cedcd01e087855b95f067