issue #3025: remove call EGLView::getInstance() in Director