Fixed issue with hidden pie slices affecting the positions of data labels. Closes #2510.