minor bug fix to dead material positioning