made the canvas drawer conform to the new webgl drawer interface