Slightly hacky fix to make ImageSequenceDialog actually work.