Quick fix to popcornlib - to not walk up the DOM tree