Fix texture warning