Fix a texture buffer binding bug