Fixed issue where "quick creating" an element resulted in collapsing the tree
Fixed collapsing tree after quick creating an element

* origin/pr/11454:
  Fixed issue where "quick creating" an element resulted in collapsing the tree