Hinode observations reveal boundary layers of magnetic elements in the solar photosphere