fixed type of xcenter and ycenter in InputWavefrontFromField