fix bug: redraw all trees instead of the last one after adjusting scale or width