Update path.class.js

Path fix, i have to check what is happening.
Also DrawArc does not work as expected. ( not even before fix )