For default GetWindowUnderCursor (when there is not a platform-specific version), search windows in reverse order. This is because in most cases with overlapping windows the one that is on top was created after those that are below it. Pull Request: https://projects.blender.org/blender/blender/pulls/111489