Gonzalez overcomes headache for strong game