The bug
Fog applied to beacon beams intensifies at a spherical distance threshold from the camera, rather than a cylindrical shape.
Note that whether beacon beams should show fog at all is disputable - see MC-231123.
How to fix
Make beacon beams use a cylinder for fog calculations.
Can confirm.