Fixed the convexPolygonSplit function. Now the terrain map collision polygon are save as convex.