Work around GTK+ 3.12 brokenness.