Fix redundant glActiveTexture/glBindTexture calls