Merge pull request #9921 from Pokechu22/non-power-of-2-wrap Software: Handle texture wrapping more accurately