Changed the window client rect validation to take this into account. Fixes https://github.com/libsdl-org/SDL/issues/9796