I'v had the same problem happen to my cobra,
you will need to rip off the deck and fiberglass the frame back in. In my case i made a new frame because it had split!
Best way is to mix up some fiberglass bog and use a big ice-cream stick to smooth around between the hull and the frame. Then place some fiberglass tape to secure the frame.