fixed dog animation bug