Fix dynamic favicon in Firefox

Firefox only updates the icon when the element is added to the DOM.