When newing up polygon make sure to use L.FreeDraw.Polygon in createPolygon method.