materialization edit and random in-game bug fix

code was trying to access dead creatures hexes, which is impossible
because they don't exist, now checks if they exist