Fix enemies keeping animation hurt while immobilized. Fix #436.