Fixed a bug affecting text drawings when fromCenter is false