fixed animation playing bugs

fixed animation playing bugs