Fixed Box.setParent for jQuery related;
Refactored Box.setParent to use child to parent API.