Video glitch on UEFI boot RX480 Red Dragon

So i've been running my RX480 8GB Red Dragon on LGA1156 (legacy BIOS) and never had a issue, but recently I've got a AM4 system (B550 Tomahawk) and if I disable UEFI I have no issue, but with UEFI active I get a glitched image on boot but works fine after that, I wonder if it's an issue with the RX480 or the motherboard, any help would be really appreciated.
Here is a video of the issue: https://youtube.com/shorts/neauLF84zao?feature=share