To avoid the problem, just tape a amount of cardboard this front edge of the light to block any extraneous light.
But need to have know type of outdoor lights accumulates purchase, and carry out a little research easy methods to put them up. https://Www.Trademama.com/outdoor-led-light-bulbs/suppliers.html