OpenGL texture retained on cleanup