Maintain proper z-order between label and legend

- Maintain proper z-order between label and legend.