From my experience changing bulbs in my vehicle, it looks like the bulb is not seating properly in the housing, check that the retention clips are holding the bulb properly and that might do the work.
as stated above the clips on these bulbs suck and don't hold pressure well I had to duct tape a few in on my old 08 so they would stay where they where supposed to.