(EglGraphics) Check if egl implementation is initialised before dereferencing it