ui/admin/setup_variants: fix invalid offset