Fix texture bindings.