Label:fixed possible appear OpenGL error 0x500.