fixed animation tick issue