If a lightning bolt is teleported as soon as it is summoned, it will strike the correct position but not show up in that position; the animation continues to render at its original location.
To reproduce:
Put {{/tp @e[type=lightning_bolt] 0 0 0 }}in a powered repeating command block
Summon a lightning bolt at 5 0 5
The fire appears at 0 0 0 while the lightning bolt renders at 5 0 5
This should probably be merged with MC-44654