Personally I prefer to ignore these slight embarrassments. I find they usually just fade into the background if left alone. Whereas trying to explain usually makes matters worse. It does sound like one of your parts connected with that person. I feel a little chat with that part of you about inappropriate behaviour might be more productive.