fix mac coordinates

I make a mistake on the coordinates on mac, fixed in this commit.