FX FX Panthera - What does this screw do

Well I got my .22 Panthera today and a few screws were a little loose. So I tightended a couple and came to the screw #15 that runs through the pic rail and tightened it a bit as it didn't have any resistance on it at all. Then it fell into the gun as I tunre dit in too far. Now I gotta pull some stuff off to get it out. What purpose does this screw do and why would it be loose and then when tightened why would it drop into the airgun?

pls help provide some insight

Screw 15 WTH.png
 
@Chukar60 Funny but true. I've learn valuable lessons similarly.

@Precision Quest Air It's funny, but trust me I've been there. Were you able to retrieve the grub screw?
Yeah, I got the grub screw out. But I should adjust it down as it is too loose now and the bolt handle does close under gravity when the barrel is in the downward position. Gotta pull the scope now...