We know light bends.  The point is that the bending caused by the moon is insignificant so when there's a total eclipse, the sun's UV rays are blocked by the moon and do not get to us on earth.  Light bent by the gravity of the moon has nothing to do with damage to your eyes during a total or partial eclipse.  

Yeah, the visible spectrum is relatively small.  You've just mastered that concept in 8th grade science class.  Congrats.