Unable to tap on button using its location? pointer only highlighting y axis

i am able to tap on button using its location but when menu pop up open, and i am trying to tap on sign out button only y axis is getting highlighted?
below code i have used:

Driver.tap(1, xlocation, 1 ,ylocation)