I think iOS changed its behavior like this in the past year or two and it's so frustrating after years of per-word autocorrect. Like having the text flow around randomly while typing out your sentence, seeing the text be _entirely wrong_, and just having to pray that the text will end up right at the end of the action.
I don't know what is better here but honestly per-word predictions were way better for my usecases.