Revert "Remove EGL surface in the update thread"