Shear of the vector potential in the Aharonov-Bohm effect