Fixed a few animation issues.