Girona beat Barcelona 2-1 at Montilivi in a match marked by a controversial goal, VAR decisions and a missed penalty, costing Barça the LaLiga lead.