Improved window reordering: Now works with a click anywhere into the window.