Fixed bug where dying bullets still run functions