Fix GLTexture bug