I've just replaced my screen and after the first boot, I did the calibrations process. First time, no luck, but out of options, I tried again, and it just worked. No need to flash the stock ROM nor a factory reset. After the second time, it just worked.
I hope this saves anyone else a painful re-flash.