We investigate the effect of density down-ramps on the acceleration of ions via magnetic vortex acceleration in a near-critical density gas target by means of particle-in-cell simulations. The spin-polarization of the accelerated protons is robust for a variety of ramp lengths at around 80%. Significant increase of the ramp length is accompanied by collimation of low-polarization protons into the final beam and large transverse spread of the highly polarized protons with respect to the direction of laser propagation.