Don't fire when there is not an element on the page.