Made z-orders consistent.