fix #3827 (Units walk off the edge of the map)
what happens: skidding=false, flying=true -> gravity isn't applied, neither is the unit glued to ground