Fix core dump when a weapon falls.