Add WebGL undefined check to SpriteStage draw()

This was breaking Internet Explorer 10.