display: auto set primary monitor when there has invalid configuration