Do not deactive menuItem if hostType is undefined