Fix bugs in nodal rendering. Switch to new RenderState.