Fixed calculating theta for piechart scroll/fling.