Minor UI fix in AAM text layout