Fixed the auto wrap bug of the text