Fixes SimpleTreeDemo refreshing