Lua plugin: Support tile animations and image collection tilesets