Setting the position of a node when it is created.