disable closePath() for paths