Stop in for a cup of coffee

So if I understand correctly. You did a dry fit and it came close to the wall. You unscrewed it applied some kind of thread sealer and now it won't go in as far? What did you put on the threads.
Exactly, just some of that pipe thread sealant. Grey colored cream stuff out of a small squeeze tube.