Fixed #1615 Fixed a bug of CCLoader.js for WebGL

Fixed a bug of CCLoader.js for WebGL