When your direction is frozen via script, the sword beam will go in the direction of input rather than the sword's facing direction. This probably has something to do with the script-engine interaction.
Sword beams not influenced by facing direction.
Fixed!