I just pulled off the same glitch in the same level! I was trying to run from the Lost Soul following me when going in the secret area, only for me to accidently trigger the glitch. I don't think I even had the weapon selector open! I just ran into the pickup sprite and... voila!