I have noticed that being stunned while attacking can lead to immobility while using other weapons as well, such as the khorovod. It's only really noticable on longer attacks.
My theory is that the stun is being applied to the entirety of the current attack. Let's say a normal attack takes one second, and a stunned attack takes 2.
If you only had 0.1 seconds left until the attack was finished, your half-speed animation will now finish in 0.2 seconds.
However, since it is now a stunned attack with a total length of 2 seconds (of which only 1.1 seconds have elapsed at the end of the animation), that means you still have to wait another 0.9 seconds after that before the attack is officially over.