Swap vertex x and y coordinates to correct location.