Precise Tap works from inspector but not when run with mocha

I can successfully do precise tap option and it works fine when doing it from Appium inspector. It works correctly as expected.

Now, I am using node js client to write my test cases.

Here is the node js code generated from inspector:
.execute("mobile: tap", {"tapCount": 1, "touchCount": 1, "duration": 1.0, "x": 186, "y": 693})

which looks correct. I saw some other threads for this and examples in java, they are basically the same thing.

now when I am writing my test using mocha index.js, the script is not clicking at the same place as it was clicking with inspector.

Its clicking some other block in the app and test is failing. Any help will be appreciated.