I'm not an html expert or anything, but it could be because where you're putting it is between two <li> tags. Maybe try putting it in the facebook_header template after the opening <li ... tag? But that will mean that it'll be inside the <vb:if condition="$vboptions['enablefacebookconnect']"> condition.