It has been an issue in the game for years and is rarely fixed, why would you fix it, it increases frustration and the temptation to buy stuff, it only happens with certain moves, very rarely on dash, usually on block.
it is like the AI insta blocking, and blocking specials even after you launched them, and the staggering amount of times AI end up with 1% energy it is designed to frustrate, designed deliberate;y to piss you off and designed to manufacture fake AI wins.
They let you win a fair amount, but now and then, they are letting you know who is in charge.