Allows to control the creation of the renderer in the canvas renderer