fix(widgets): set correct collapse state on collapse menu item