Could one be looking at an adjustable automatic door-operated light-switch? In that case, the screws may appear
to be loose but merely go to indicate the state of the adjustment.
On the other hand, the two, [ small
I do assure you ], glasses of 'The Balvenie' single malt that I imbibed after supper this evening may be clouding my judgement somewhat.