Stop multiple polygons being drawn when switching drawing style