Fix bug with casting weapons