Fixes bug where hoverbox no longer calls createElement function