Convert node reference to real coordinates while writing