Hairpin bug?

This doesn’t happen in a newly-created project, so I would need to see the project in which this is occurring to be able to judge what might be happening.