Fixed context reference error in the Renderer.