Fix issue when config.meshType is point