Fixed marking assets as loaded.