treedraw: minor simplifications