Fix for Gtk keyboard input