XClick/XClickRelative finds target but the click is not made , working fine on another machine

Are you using multiple monitors?
Kantu’s XClick functions do not currently work correctly if you are using more than one monitor.

This is a known issue, and they are currently working on the fix. This issue was added to Kantu’s todo list during the first quarter of this year. (forum post is here: [issue #41] XClick fails if second monitor is connected)