treedraw: check bounds & more compact

- explicit check that nodes end up above their children, after first
  child & before last child, if children > 1.
- allow drawing node directly above one of its children, if it's not the
  first or last one.