Implement z-index support for items (untested).