Correct arrow direction on drawn segment (fixes #2078)