This is a known (relatively rare) issue. IIRC removing and reequipping armour can also restore control to the character, but F5 -> F8 is just as fast, and doesn't use any AP in combat.