Issue #2900 caused legend size not to update after changing names of pie slices.