Fixed the position of the text labels.