Fix client not working on GTK.