The screen is paired with the logic board.
To get both working fine the display data from the chip on the display cable needs to be copied from the original screen that came with the phone to the replacement screen regardless of whether it was original or not.
It requires a flashing fixture that copies the data from one chip to another. REWA technology has released a product and video demonstrating this on YouTube:
https://www.youtube.com/watch?v=t-tLd5FWpoY