fix bug when using pie charts in NVD3 with add controls.