Fix texture demo