bugfix for geom_text with regression test.