fix for the case where the el doesn't have a parent

I tested the fallback in chrome quickly.