#4981: Fixed terminal's action state in menu bar.