Makes setting shouldRefreshChildren on a TreeElement perform the refresh