I found out the issue. I had a duplicate of the mesh with different UV mapping. I should've known. Thanks for all your help.