Fixed tree update collision bug