Fix sudden changes of leaf colour when tree LOD changes.