When I was drawing using my Wacom, everything was working fine then the scroll suddenly moves up by itself, locks into place and the canvas stops working, couldn't draw or do anything, none of the tools work anymore and the pen tool suddenly gets laggy when moving around and when I checked task manager, the power usage goes to VERY HIGH. Coming back to the file, it just goes blank, the file/canvas is gone. The only way that I can get around this is by closing and opening again but it is only a temporary solution before it happens again. Is there any way to fix this? I have tried to shift all of the layers into a new file and it happens again.
Specs if needed for reference
Ryzen 7 3700x
RTX 3060 12GB
512GB SSD boot drive
Photoshop scratch disks are both located to my 1TB SSD and HDD