Location of elements on Hybrid App

Anyone getting wrong values on mobile hybrid apps for the location of an element? How could I work around the issue?

For Hybrid apps, you might want to switch context in order to identify the elements.
Use driver.getContext() to see the list of contexts available and then switch the context using
driver.context(“Context_name”)
Then try clicking the elements.