Wait for SpritePNG to load on HTML5 before processing