Fix mask in text