[Gtk] Fix conversion to native image