Closes #3381 3D Pies, wrong z index applied to sides