# Go 3rd person mode view (also happens in 1st person, but easier to see)
# Have a pistol and a helmet next to each other on your hotbar
# put the helmet on
# switch to your pistol
# immediately switch back to your helmet and take it off
Pistol should be stuck to your hand now and the aiming animation doesn't work either.