Fix UI loader: pop status only when all resources are loaded