Been there, fixed that.
There is a recess in the top on mine where a ss screw goes down thru to hold it in place.
Go to any True Value Hardware store and buy those little white bumpers off the rack.
I replace the ones on our cockpit locker hatch about every 5 years when they crack and harden...
Loren