Update g.pie.js

fix for pie half when number change