editor: workaround ATK bug causing crash on tab close.