I am having proximity sensor problems as well. Mine aren't related to texts thoug. When I make a call the screen isn't turning off, I have to keep readjusting the phone a few times before it goes off.
the bug went away the same day I found it. I didn't do a thing to resolve it, not even a restart. I looked thru other apps and only had it within imessage.