correct webgl detection