Stop the render at the beginning of renderToContext if there's a rendering issue.