Set gl_msaa_samples to 0 if there's a failure when creating window