Fixed render-debug's z-indexing.