Fixup Gtk3 Gdk device handling