Fix for distorted replaced textures.
Merge pull request #3958 from ey6es/master

Fix for distorted replaced textures.