Quick fix = make sure the shovel is in a 'down' position BEFORE engaging a player/zombie.
I personally think MELEE weapons should have two positions:
- the current 'not raised' position should be the raised position (threatening),
- the 'upright' position should be removed and replaced with the weapon being held perpendicular to your body by your waist (non threatening)