ICanvasContext replaced by ILayer