Identify correct x,y coordinates of button clicked