Changes LineAnimationJob to force initial segment in a given direction. Fixes some other bugs.