Fix frame index in exporter

Signed-off-by: Karang <arthur.hennequin@free.fr>