Fix a minor issue in the renderer.