Fix issue with api/integrator sidebar menus always stay collapsed