Fix X-Y inversion error in SPE reader.