Solved this by my own in the meantime. I added an event handler to Microsoft.Win32.SystemEvents.DisplaySettingsChanging
Doing a short Thread.Sleep on UI Thread. The issue occures because the keyboard flip reacts faster then my own application. I know it's a workaround but the sleep is just 200 ms and it works like charm