fixed bug where sword would not follow correctly if acceleration was applied to character