DPU tree max height takes into account pipeline settings in canvas. Closes #1103.