I’ve had this happen a few times actually, but haven’t been able to reliably recreate it.
Sometimes when creating a linear gradient, the background will just switch to a dark gray. I have a recording of it on youtube
I also see these errors in the Console when it occurs