Works if we disable the EGL_BAD_SURFACE error