Fix webgl detection
Cleanup