Photoshop sometimes deletes layer contents when I click the canvas
I am using Photoshop CC 2019. This does not occur every time I use the program, but when it does, it tends to be a persistent annoyance. I will be in the middle of drawing lineart with the brush tool, and, seemingly at random, when I touch my Huion stylus to the canvas a block of my work on the active layer will be deleted. The only way to undo this is to click back 2-3 steps in the history panel, which also undoes the last 2-3 brush strokes I made. Sometimes the block of vanished work also returns if I select the area with the marquee tool and move it around. I have no idea why this happens, why it happens only sometimes, or how to fix it. Has anyone else encountered this issue, and have you found a way to prevent this? It is EXTREMELY frustrating.
