Fixed *Missing isNull check when unloading images*