fixed OpenGL object labeling for invalid object type