Xclickrelative finds the image match when tested in the IDE with "Find", but not when macro is run

I’m finding that the xclickrelative in desktop mode is unable to locate the target image match at .6 confidence level when run in my macro, but it can consistently find the same image match and reports .86 or better confidence when the search is run from the IDE “Find” button.

I’ve removed all visionlimitsearcharea commands from the macro to ensure the full desktop is being searched.

Any suggestions appreciated.

I have noticed the same occurring if the relative/anchor png used is too small.
Also, double check that the _last_desktop_screenshot.png is truly capturing your entire search area.