The question of how the eye works - that is, what happens when a photon of light first impinges on the retina - simply could not be answered at that time.
Since natural selection requires a function to select, an irreducibly complex biological system, if there is such a thing, would have to arise as an integrated unit for natural selection to have anything to act on.