Add support for zero-length treeboxes

These would be rendered as points rather than boxes.
Both width and offset can be used for specifying the offset.