Fixed weapon switching crash