fix tile animation bug