Reuse the consistent order of screens when finding the screen containing a window.