fixed subpath issue
Merge pull request #177 from Tharit/strokeFillSubPaths

stroke and fill must not close current sub path