The function will Set angular 0 after 0,5 seconds reaching the prelast dockpoint. Move your Point 3 more away from Dock. Like where your Point 2 or half the way between. Be aware to have enough dockpoints to Not Trigger Bugs.
Watch Out that you get the Line of three Points as straight as possible, I See some improvement there.