Fix attachment icon issue when rare font/language is used (#1489326)