trying to remove loading container when it's no longer needed

this should help speed up rendering and reduce memory