fix auto z-index in nodes map to make more sense