Yup, the pathfinding needs improvements as it is for some reason worse than it was in Early Access. Even when there are no ladders, I often encounter the companions miscalculating their movement range and ending up just out of reach of an enemy, which then ruins their attack turn.
To better demonstrate what you're describing here's a video of two such cases which I haven't sent yet as feedback;