Vinicius Jr ended an emotional week with his fifth goal in four games, but was unable to prevent Real Madrid losing 2-1 to Osasuna and handing Barcelona the initiative in the La Liga title race.