Fix matbox and admin menu bugs related to $instance->pageHook.