Fixing variable name lenght -> length.
Merge pull request #9567 from joewan/v3-improve-perf

fix serious performance problem of Animate.
Merge pull request #9566 from austinkelleher/dev

Fixing variable name lenght -> length.