Fixed texture flip issue.