Tweak the spacer appearance condition

Make it sync with the first/last icon, instead of always showing it.
Doesn't change much, since it's invisible, but, still, more correct this
way ;).