g-component: not guaranteed to have lightDOM, so check before manipulating.