Clear items before generating a map with DEBUG_ACTION_BUILD_MAP.