Fixed a location bug in the Text detection.