Melting back on my voltage regulator. Have you seen this before?

I have had it happen on these stored in the garage. So the overheating when going bad idea is baloney.

One guy talked about putting a plate behind the unit the same shape with a thin gasket or sealer around the edge to keep dirt and water out. That seems like what the goo is for.