[4.0] Fix bug with mixed language text