Add WebGL undefined check to SpriteStage draw()

This was breaking Internet Explorer 10.
Merge pull request #481 from differentmatt/master

Add WebGL undefined check to SpriteStage draw()