Animation bug fix.

Fixed a commit bug with the last pull, where animation changes were not
properly reflected.