Eraser not working with darkreader
**Describe the bug**
when using the super-popular [darkreader](https://github.com/darkreader/darkreader) addon, the eraser is not working.

**To Reproduce**
Steps to reproduce the behavior:
1. Install and activate darkreader addon
2. draw some lines on canvas
3. try to erase it

**Expected behavior**
the "erased" area should be hidden

**Actual behavior**
the drawn line becomes transparent, and it is visible only where it was  "erased".

**Screenshots**
before
![image](https://user-images.githubusercontent.com/12156855/234811390-b5fdc4d6-650e-4697-838d-8ce3be8b2d7f.png)
after "erasing" the letter "P"
![image](https://user-images.githubusercontent.com/12156855/234811333-49b5c8c0-9125-491d-a5f7-41958a141cae.png)

**Desktop:**
 - Browser Chrome, Edge
 - Version 112