Fixing the bug that crashed the app when trying to do a big polygon survey.
Merge pull request #272 from arthurbenemann/BigPolygon

BugFix in Polygon mode.