Fix incorrect angle for end point