Fix bug in polygon tool that adds an extra point
We remove the end point if it overlaps with the start point when create the path shape. BUG:411059
Loading
We remove the end point if it overlaps with the start point when create the path shape. BUG:411059
mentioned in commit b25b6242