Getlocation of a element in hybrid app returns wrong coordinates

Using getLocation() of a element in a hybrid app returns a coordinates. But using that coordinates to click an element doesn’t work.