de0u
In my case it always occurred in the status bar area. I tried several times - unfortunately without success - to determine the exact behavior that triggers the error. I couldn't pin it down to a specific app. Sometimes the error also occurred when I was in the system settings, for example.
I felt (but really only felt, I have no evidence for this) that the behavior was triggered when a quick change from light to dark occured on the display. For example if you have a light wallpaper and use an app with a dark theme and then swipe to the recently used apps and as a result, the screen suddenly becomes quite bright. I hope you understand roughly what I mean, it's hard to describe.