Fixed #3824: EGLView now works well without initialization of director