Not sure if this is RX580 or it's drivers causing issue, or something else. See example. Happens on Edge, Firefox, etc. Driver version is 22.19.172.769 dated 6/27/2017. Running on a Dell installed 8/6/2020 with windows 10 Home and AMD Ryzen 7.
Your display driver is way out of date, try updating it through Radeon Software..
Or go to AMD.com Support and download from there..
Does this happen when gaming too?