Fix cast exception when players hit by dispenser