Fix label centering for pie graphs

Fix an issue concerning how percentages were shown for pie graphs. They
weren't centered, but now they are.