Fix checkStyleToggleVisibility

Else if you had a <div><span>toto</span></div> on the checkbox only the span is removed, so the div still block the checkbox.