added openGL and fixed resize box in SceneWidget