When a Guardian is attacking, the beam can extend too far from the entity it is attacking.
How to reproduce
Summon a Guardian
/summon minecraft:armor_stand ~ ~ ~ {Passengers:[{id:"minecraft:guardian"}]}
Summon Squids near the Guardian, go into survival mode and stand sideways, or sleep in a bed while a Guardian is attacking
Observed Behavior
The client-side beam can render beyond the attacked entity's model.
Expected Behavior
The beam stops at the center of the attacked entity's model and does not go past it.
Can confirm.