Fix issues with nVidia EGL implementation.