I would be worried too, power and water are not two things you want to take chances with,
you could flip the light like mentioned but there is still risk, I would try to cover it. Could just glue 2 scrap sheets of wood into a 90 degree box and glue it so it sits in front of the plug to the roof of the canopy.