bugfix when quadratic curve path has empty control dot