Lua plugin: Include tile offset in the Lua export

Closes #499