I suspect it'll be because the little black rubber shroud that sits over the proximity sensor has fallen off when you did the cable transfer.
I had a client phone come in the other day and I noticed it was missing ( from a previous repair ) and asked if they'd been having issues, and they have, with poor face-presence recognition and similar.
To date I've not yet found a supplier of replacement units.