fixed animation playing at runtime.