High Sierra forgets display layout on reboot
Your MBP uses Non-Volatile Random-Access Memory (NVRAM) to store various settings. It may be worth resetting this.

To reset the NVRAM on all Late-2016 and 2017 MacBook Pro models (with and without Touch Bar) follow these steps: 


Shut down your MBP. 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 MBP reboot normally.


Note 1: 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).

Note 2: If your Mac is using a firmware password, you will need to disable the firmware password before resetting NVRAM.