Fixed error assigning TextStyles.