Skip elements that aren't in the DOM.