Calculate offset of trimmed frames in sprite sheet

Data comes from JSON file generated via TexturePacker
Merge pull request #135 from grifotv/patch-1

Calculate offset of trimmed frames in sprite sheet