Possible incorrect geometry in json configs is taken into account while resize