Fixed a bug that Detector.webgl becomes null in iOS 7.

I have confirmed the bug in ios7.1.2.