Cross platform relative coordinates in mac implementation as well.