issue #21975 remove regression caused by 21141, add new special handling...

... for windows inside workspace on xwidget