Ignore node's ancestors if callback for forEach returned false.
Rewritten widgets discovering code - do not scan widget elements' ancestors.