fixed pie-chart animation bug in firefox