[imp] [33534] Micro-optimization of JDocumentRendererHead/render, Fix #3386