fixed piece animation bug