-Focus in flight

I have noticed of late that my drone video footage is totally out of focus.
After numerous tests I have found that if I press record before the drone leaves the ground, it will focus on the nearest item. tufts of grass, rocks, stones or whatever is on the ground. Once it starts to fly the focus does not change.

If I do not start recording till in the air then the recording will be outstanding.

I realise the answer is to press record when in the air but is their some kind of setting that I can use and the focussing on the ground wouldn’t be a problem??