Fix bugs with index/loading mod assets