I forgot about that.
@umop: But Chris @ccstone to the rescue. Instead of the "front window", use an "area" based on the frame of the front window:
I had made this change to my macros long ago, and forgot about it.
For more information, see the wiki Searching the Forum for Answers section.