He got injured on his little adventure. Assuming that your parameters are good, he will heal up on his own within a few days.
As you have now found out, engineer gobies can be quite the escape artists. I would suggest using a mesh screen in front of your overflow. Vinyl gutter guard from HD/Lowes works very well for that. You also need a good cover on top. A DIY screen top is your best option there. It will allow for gas exchange and blocks very little light while still creating a pretty much escape proof top. Eggcrate (lighting diffuser) is a very poor choice for this not only because the ~1/2" square openings can easily be gotten through but also because it is, well, lighting diffuser.