Fix broken graphics on OS X (maybe buggy GTK+ implementation)