Issue #5941: add CustomRenderCmd to new renderer

add CustomRenderCmd to new renderer