fixed color bug for canvasrenderer