Fixed the rendering pipeline.