fix mac coordinates

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