Also use the real pointer to display modes for internal mode processing Fixes https://github.com/libsdl-org/SDL/issues/10353