Fix AnimatedEntity issue.