Mac with 2 monitors. How to change screens?
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).