Fixes invalid maxZones value
Resizes loca table when needed
Merge pull request #3883 from yurydelendik/bug904941

Fixes invalid maxZones value
Merge pull request #3884 from yurydelendik/bug868745

Resizes loca table when needed