Corel Photo-Paint 2022 eraser and brush tool lag seriously bad

I have a greyscale image. It is a pencil sketch. I want to clean some stuff up. I click the eraser tool. Adjust the size. Click and drag. 10 seconds later the erase happens. This is a seriously bad lag. I am using a Logitech mouse. Firmware is up to date. Running Windows 10. Computer has a Geoforce RTX 3060 graphics card. Intel i7 13th gen cpu. 32 gigs of RAM. I am sure my computer has enough horsepower to run the eraser tool on a 200 dpi greyscale image. Not sure what is causing the lag. It also happens when using the brush tool.