Transparently handle QML-defined Window roots.