Contortions to handle the case where the component's attached handler is invoked before the component has actually be rendered.