You mention that the hair grass was fine after a trim. Can’t you just trim it again? Or it could be that the grass requires more nutrients once it’s larger in size. With the tank filling in you might be limiting a specific fertilizers which is causing the algae outbreak.