Fix array overflow is the tunic/sword/shield is too high (fix #255).