Fixed compatibility with MySQL's PolygonFromText function