[4.0] Fixed a problem where text size exceeds maximum texture size.