Fixed nil object insertion crash when loading nonexistent images