pathfinding fixes, winegrabbing calculations