fixed #64 -- lock global actions when players casts a spell.