3D pathing fix