Rewrite CanvasEffects