Fixed showing active class in element's tree
Merge remote-tracking branch 'upstream/pr/12035' into pr/12035

* upstream/pr/12035:
  Fixed showing active class in element's tree