Fix major bug related to the ordering of coordinates