Fix end of animation text formatting