fix bugs in findElementByAny internal function which b0rked when seeking IDs in the Shadow DOM.
fix bugs in findElementByAny internal function which b0rked when seeking IDs in the Shadow DOM.

GerHobbelt/nprogress,GerHobbelt/nprogress,GerHobbelt/nprogress