Update path.py

Fixes unit facing while moving errors