Tree model move bugfix