Just tried Z6's focus stack for the first time but it didnt work. Settings were aperture 5.6, and focus shift set for 20 shots with a focus step width of 3. Took some landscapes, focussing on foreground before starting the z6 focus shift feature. The result was the first pic had an in focus foreground and blurred background, as you'd expect. All the other shots became progressively more blurred until both foreground and background were out of focus! Any advice would be appreciated.

