Pre-correction of distorted Bessel–Gauss beams without wavefront detection