Barcelona maintained its lead in the Spanish League with a 3-2 win over visiting Villarreal following a strong comeback in the second half.