Fixed animation issues.