Rigid thinking

Rigid thinking was an enchantment spell caused a creature to fixate on the task it was performing at the time of casting and be unable to deviate from that task.