Fix gtk bug with workaround