Fixed deadlock of incremental GIFs
(At least, I haven't run into it again)