If the dragon tries to find "ground" and hits a hole, or off edge, it will infinitely keep looking for non air and eventually crash.