I have similar hatches:
aluminum frame and
acrylic lenses. Nothing worked until I started using Dow Corning 795. It lasts until the plastic itself needs changing.
Gotchas:
1. I’ve used nothing but black 795. Can’t speak to other colors.
2. Don’t buy more 795 than you need. When it’s past it expiration date, it might take months to set up.
3. Clean all the old
adhesive away on the frame. Clean with pure alcohol before you sand. Then sand with 80-100 sandpaper and clean again, until the rag shows no dirt.
4. Make sure you have enough free space for at least 1/8” bead of caulk on all surfaces. I separate the plastic from the frame with pieces of 1/8” wooden dowel until the 795 is set.
5. Sand every place on the plastic where there will be caulk. Especially around the edges. Clean with alcohol.
6. Mask surfaces where required.
7. Put on enough caulk so that it will squeeze out of all the seams.
8. Put the lense into the frame and leave it alone until the caulk sets completely, then trim the excess with a razor blade.
That’s worked for 5 hatches up to 24x24 in full time tropical conditions.