Fix CDataWindow element tree update