Improved tree rendering