Displays reset to mirrored on restart
I bought a new new iMac (Retina 5K, 27-inch, 2017) a few weeks ago to replace my late-2011 iMac and I'm getting a problem that I never used to get whenever I restart the computer :
I keep a Sony TV connected which I use as a second display, with the 2 screens arranged beside each other in the "extended desktop" mode in the Display settings. When I restart the computer the Display arrangement resets itself to Mirrored display, and consequently the display resolution on the iMac screen switches to 1920x1080. So each time I restart a have to open the Display settings, uncheck the Mirror Displays option (and then the resolution reverts back to the iMac default), and then reset the arrangement of the screens.
I can't find any way to stop this from happening! I called Apple Support and they were sympathetic but unhelpful; they said this was by design and there was no way to prevent it from happening. They said it was something built in to either the new iMacs or the OS (or both). It never used to happen with my old iMac, which was running the most recent (at the time, in late March) version of High Sierra. It sounds like they didn't know why it was happening and were just saying something instead of admitting that. But maybe this really is a "feature" of the new iMacs? If so, there is no mention of it in the Support documents on using multiple displays.
At any rate, I'm running the latest version of High Sierra, 10.13.4 and the TV in question is a 42" Sony Bravia HD connected via a thunderbolt to HDMI cable. Any help, or even similar tales of woe, is appreciated.
iMac with Retina 5K display, macOS High Sierra (10.13.4)