(Lakka) Fix a segfault in items_init