Fix gtk clipboard detection