[Xwt.Gtk] Correctly implement previous workaround