It's a problem with the AMD drivers themselves, it will keep happening until they fix their drivers.
Some recommended disabling hardware acceleration in whatever you use (discord, chrome etc).
Happens to me aswell, at the moment I'm using 22.5.1 (WHQL) minimum installation with no setting enabled and it hasn't happened yet, i hope it won't cause in other cases it happened to me alot