I'm not 100% sure but when you change from the MBR legacy mode to UEFI you'll need to perform a fresh install to avoid issues with drivers etc. And removing the drivers will not work I guess in this case. But maybe someone else has another idea to solve this.