New nodes should be centered around the mouse click.