Gigabyte Aorus Pro WIFI forces CSM mode

So i build an AMD system and managed to get Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave running.
I then bought a sapphire 580 to get my display up to 4K but every now and then the CSM setting enables itself in BIOS and my system won't boot. It was happening once a week but now its happening with every restart. I'm not sure how to fix this. Can anyone help?

Author: @Justate2slices