Fixed inverted x and y on findCoordinates