If the filter gets stuck, it throws an error:
error("No solution at time point $(t)!")
It would be useful to replace this with a warning and then return the outputs up to that time step.
Then we can at least check whether the animal is moving towards the edge of the study area and likely left the area, leading to the issue, or if there is something else going on.