fix placement of arrows (but line heads are now placed incorrectly