Fixed a bug when setting the array of texts for the scroll label.