Carplay automation with appium(XCUITEST driver). Unable to click on element

I am looking for the solution for the automation of native IOS application with CarPlay component. All the CarPlay context is implemented using Swift and consist of XCUIElements. When my testing device is connected to the headunit and CarPlay application under the test is launched I can access native context of the application by using iOS appium driver. The phone’s and CarPlay application native contexts are mixed together and available for interaction (getAttributes(), getText(), isDisplayed() and etc.). The only problem is clicks. When I am trying to click the element the driver clicks in a different place. I didn’t figure out why. I was thinking that the deviation is similar on each click, but I was wrong. I was not able to find any consistent pattern. Any ideas how to avoid coordinates clicking because I am planning to test on a different headunit screen resolutions?