I think you maybe referring to gas bubble disease but I have to differ on the cause and here is why:
"Gas bubble disease, like Melissa said, is not due to air bubbles in the water, but actually dissolved gases (both O2 and N2). With many fishes, signs of GBD, will show up when the total dissolved gases exceed 110-130%. With some fishes, O2 levels of over 300% did not produce GBD. Usually, on smaller systems, this is due to the entraining of air on the intake side of a pump. The easiest solution to this is finding and fixing the pump, but having a trickle filter (dembolizing tower), water "fall" into the tank or sump or strong aeration in the tank or the sump will off gas any supersaturated dissolved gases. For this reason, as a protective measure, I have overflow drains, as opposed to siphon/suction tube, and aeration (usually in the sump) on all of my systems. This will also help off gas a build up of CO2 and the associated pH drop that some tanks experience when the lights go off. Also GBD will manifest itself in more than just the eyes, and unless the supersaturation is fixed, it is usually fatal in a very short period of time."
too lazy to put in my own words