Fixed initialization of TextConfiguration