That never happened to me.

Once my dragon wouldn't target enemies so I went to a previous save file and retracked my steps. That worked.