Fix potential NPEs when parsing species' image preloads