Fixing path drawing of path