Fix tree scaling