Resulted in change of policy: If hidden window is now closed, its visibility status automatically restored to visible (previously, hidden window stayed hidden after closing, which was causing the menu issue problem - the submenu was hidden by Windows before minimizing, then was reopened as hidden...).