Only fire onLegEnd callbacks if the leg is visible.