You need a diversion. Chickens get fixated on things just as some people do. It helps to provide other items of interest to diffuse the original attraction.
Get creative. Start with a flock scratch block. It usually excites the entire flock and they spend hours pecking away at it, trying to...