When an image hits the retina the image is upside down what flips the image the right way round?

You brain does the reversing of the image.