Anti-detachment capper for LED retrofit lamps