Yeah, that's a bit confusing. It tripped me up when writing this new patch. We do it this way because even if the axis is reversed, we still need to make the first move in the same + or - direction. After that if the line number is negative we flip the axis directions because the bottom of the video's rendering area is now the reference edge. If that makes sense.