fixed texture binding behavior