Fix an edge case with the draw polygon functionality
Fixes a bug where generating data or canceling the draw polygon functionality wouldn't reset the area of the polygon.
Fixes a bug where generating data or canceling the draw polygon functionality wouldn't reset the area of the polygon.