Fix text centering issue for the one-screen effects when length of the text is greater than display length