Separated out into the higher order RenderState