Influence of the free-layer domain structure on domain-wall displacing type field sensors