Added work around for HTML5 tilerects not being offset
Added debug tilerect & changed order of tilerects