Update path.class.js

Path positioning fixes.
It should not break anything.