small work-around for window-layout mangling in special layout situations