Added Element.zIndex for paint ordering.