Fixed add/setAnimation in event callback.

closes #137
Merge branch 'origin/master'
Comments.