[osx/sdl] - fix possible NPE - fixes #14676