fix the init order for opengl