This has been an irritation of mine since shortly after I started playing:
When you get confused it takes effect next time you press or release a key, which means you keep running straight until you change direction. When you become unconfused (OK, I just made that word up) it takes effect immediately and you change direction and run face first into a wall or honey…
I don’t have a strong opinion either way how it should be but it’s the inconsistency that annoys me.