Fixed creation of nodes within Boxes.

Previously they were added below the root of the script rather than inside the box.
Merge pull request #169 from johnhaddon/master

Fixed creation of nodes within Boxes