I have to look into this error and what causes it. I haven't touched the switching mechanic so it might be also present in the first version.
Are you maybe pressing a button while the switch animation is played?
I'll fix that for the next version.