* Found the issue:

            When reloading the config it seems that the window order
            gets messed up, so that the problem appears, because windows
            shall not appear on foreign parents.

            So reloading seems to mess up the order.