Recover the canvas from a native pointer event by walking up the composed path to the first HTMLCanvasElement (handling Shadow DOM via composedPath).
composedPath
Recover the canvas from a native pointer event by walking up the composed path to the first HTMLCanvasElement (handling Shadow DOM via
composedPath).