Mac with 2 monitors. How to change screens? My mac is connected to 2 displays. Mac is in the center, one display is in the left and one in the right.

Sometimes it happens that when I disconnect and connect my mac from displays, display 1 becomes 3 and 3 becomes 1.
If I change their location inside Display section in System Preferences location becomes correct but all icons from display 1 stays on display 3. The same for display 3 whose icons are on 1.
Is it possible to fix this without relocation of physical monitors?
One thing you could try is resetting the NVRAM of your Mac to see if that resolves this.

You don't specify the model of your Mac, so below are some generic steps that will work to reset the NVRAM on all Mac models:


Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then immediately press the commandoptionpr keys. 
Keep these keys pressed down for at least 20 seconds!
Let go of the keys and let your Mac reboot normally.


Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).