Been using DF for years, and this is a very recent problem (I'm running DF Pro v9.9 and Windows 10). I have hotkeys to switch between monitor profiles, and when I switch from my 6 monitor profile to my 2 monitor profile, my taskbar (which is set to display only on my center monitor) moves from the left to the top of screen (and I have to manually move it back in taskbar settings).
Haven't noticed it happening during other profile switches. I switch from 2 monitor profile to 6 monitor profile every day and taskbar never moves when I do this profile switch.