Moved view transformation into renderer.