Fixed a bug that wasn't saving images when passed to the renderer.