Great to hear you liked it despite the bugs!
I've just uploaded a new version which cancels spell casting if you left or right click to avoid that happening again.
I couldn't replicate the guard getting stuck though. I'll play test some more and see what steps might cause it.