fixed bug in PieChart's current item calculation and autocenter