rendering after all resources are loaded