tilesheet rendering for html5 target