Fixed a problem where text size exceeds maximum texture size.