Fix another bug of animation