Fix GridView layout bug on some GTK styles.