Fixed collapsing element tree after quick creating an element