Fixed RenderMode for html5 target.