Redid texture location logic