Rigidity-independent propagation of cosmic rays in the solar corona