Hmm.. i dont think that's a problem. I see that this method uses vectors to control the line direction.
(Much like the pen tool in photoshop). That extra leap is there because the vector of P0 points up while P1 is located at the bottom right, from P0's point of view.

So that extra leap is OK!