Some fixes to the renderer.