the photocell may still be working ..painting the photocell black may not block enough light and may void the warranty and prevent returning it....better to just cover it with some black tape.if that doesn't fix it return the bulb to vertical to see if the problem goes away........if not buy another bulb.