Debug Ribbon: fix, always ensure that ribbon is on main window