Revert "Update old EGL fix"

This reverts commit ca439e0d9388d146277cdc21448ca970e38a9c5b.