Not really a glitch at all, but in some areas with lots of jumping the AI get really confused and jumps back and forth if you don't move.