fixes realign of the text components