fix z-indexed