I would guess heat damage too, though I have never seen one burned that bad that still works. I bet it was installed tight to the deck at one time, and maybe thats why it was moved.
It may work sporadically. Semi common for the worst burnt PV's I've seen. Keep an eye on it's charging amps, watching for on, off, on, off kind of thing. They seem to cut out more often when they are hot.
The white film on the back is not a big deal on most panels.
Trim it off with a razor blade. Carefully. Don't cut into the PV.
Get close to the box, and a bit under if possible. Run a good bead of silicone around the box so it's touching the PV, just to hold the box still.
If the box is very loose now, get the film out from under it, put a good layer of silicone under it too.
Before the silicone sets up, check the factory silicone inside the box, where the wires come in. Make sure its' laying like it should. It can get folded so the box won't lie flat, like a poorly installed grommet (best example I can think of). A bit of wiggling should get it to jump back where it was so the box can lie flat and tight to the PV.
Then check where the film pulled out of the frame. Make sure the rubbery caulk is in place so water can't get to the edge of the panel. I run a bead around there too, just to be sure the gaps are filled in.
Standing water will freeze and deform the PV frame. Not sure your boat will see much freezing weather.
G-