Allegri: 'Balotelli had a bad game'