Ok, after a reboot this rom seems to work good, without lags and thanks again to the guys that helped me to sort it out. So, if you're into magisk, always do some reboot to let the rom work flawlessly.
My only problem, actually, is that the fix for mi 5 burn-in, doesn't seems to work in miui.