Thanks, but there is a misunderstanding. The option in the menu is not the problem, I wrote that the bug persists in both modes.
When no unit is selected, the LOS indicator should turn off, i.e. all the parts of the map seen by any unit should be lit. That does not happen, the LOS is always on, based on the last selected unit, even when you deselect everything.