Bunnies not running off edges!!!

I think I've finally solved the problem of bunnies running off edges.
They look a bit derpy standing facing the edge, but they'll turn away if
their new target is more inland.