Rescue bindTexture exception to fix OpenGL texture