app loader must wait to be hidden until the browser is done with the rendering