Fix syntax error in animation example

Missed this one on my last pass—sorry for the multiple PRs :)