fixed a texture offset issue.