I got exactly the same issue on Mi 9 Pro, I tried to install Magisk 20.3 more than 4 times, I even tried to install older version and doesn't works at all, Now i try to go back to previous Rom version but it boots every time back to TWRP recovery. The issue is definitely bigger than I expected