Quixel Mixer Undo, undoes a lot

In paint mode, Undo sometimes undoes the last stroke, sometimes is decided to undo the last 50 strokes. So it basically erases your work. Apart from never undoing, or saving after every stroke, is there a fix?