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