Mouse position relative to the window not working properly

Howdy all. I've been making a lot of progress with KM the last few days, mostly due to the awesome information here.

However I haven't found an answer to this problem. In a new macro I use the move and click mouse action based on position relative to the upper right corner of the front window. BUT...it only works maybe half the time. The other times it's in a completely different location. It's always in that same location actually, it's just wrong.

Could anybody shed some light on what might be going on?

I THINK I uploaded the macro correctly; if not please correct me.

Keyboard Maestro 8.2.1 “Clear private data from Google Chrome” Macro

Clear private data from Google Chrome.kmmacros (6.8 KB)

Two thoughts:

  1. Clicking relative to the RIGHT corner could produce different results depending on the width of the window. You might try clicking relative to the LEFT corner.
  2. You might try using Select or Show a Menu Item action rather than Move and Click mouse. That would be much more reliable.