Siege units movement bug

I noticed that when my trebuchets are ordered to attack a wall or something like that from far away in fog war, or even sometimes in line of sight, they don’t take the direct route to attack, even if it’s free. They start to turn around creating a route that will perhaps cross the entire map.

So not really a bug as such; just saying trebuchet pathing to position themselves for an attack could use some improvement?