improve pie segment rendering

Change-Id: I57c213420718f2be338b94459c6273fbfcb32881