It still happens now and then - a coworker or friend will pat me on the head, or rub my head. Sometimes male, sometimes female. That never happened when I had a full head of hair. Shortly after I decided to embrace my growing baldness, and I bought my own clippers and cut it all off, people starting patting or rubbing my scalp.
People are strange.