Calculate offset of trimmed frames in sprite sheet

Data comes from JSON file generated via TexturePacker