Merge pull request #9928 from Pokechu22/shadow-the-hedgehog-eyelids-NaN Convert NaN to 1 when generating texture coordinates