Fixed bug with MKPolyline creation.