PieMenuZone: prevent ArrayOutOfBoundsException