Tweaked treetap render to hopefully reduce unecessary work