Fix parsing coordinate tuples