Fix bug with inline expansion with Unanimate Gif

Issue #273