GEOT-4789: Fixed empty lines support in labels rendering