@SpreadEagle
This problem occurs when the route crosses the antimeridian. See these related posts.
https://community.windy.com/topic/9680/route-planner-going-crazy-between-hawaii-and-marshall-islands/2?_=1698959813342
As a conclusion it appears there is no chance that this bug can be solved.