Sometimes non-intended actions disappear after undoing
I try to undo certain amount of actions, and then after doing it a few times sometimes the action that I was not trying to undo gets "broken" (idk how else to describe it), it's technically there in the history column, but it doesn't show on the canvas. I did not press any buttons by mistake or toggled anything. Is it just a glitch? It happened several times already...
Decided to add a screenshot, so you can see yourself that there is a brush action there (it should be a pink circle) but it doesn't show.
Using latest version of Photoshop 2021, version 22.4.2
