[Bug 4389] Window decoration screwed up in UT while WM is not allowed to control it.