Corrected the inverted x / y values