Take the node size into account for positioning the nodes.

Fix for #6.