Multiple Canvas Eraser Problem
**Describe the bug**
The bug is observed when there is multiple canvases in a page. I can draw independently on the canvases but while erasing on a canvas the same event is happened to all other canvases.

**To Reproduce**
Steps to reproduce the behavior:

1. Add multiple canvas in a page
2. Draw something independently to all the canvases
3. Try to erase in one canvas
4. You will notice all the drawings of other canvases is also erasing.

**Expected behavior**
It is expected that only the image I select to erase will perform the erasing operation. 

**Screenshots**
[canvas_issue.webm](https://github.com/user-attachments/assets/49143646-352f-4c92-a792-9d83c79fca14)

**Desktop (please complete the following information):**

- Linux
- Chrome
- Version 128.0.6613.119 (Official Build) (64-bit)

**Smartphone (please complete the following information):**

- I did not test it for smartphone.
