fix units losing their visibility if they're stacked onto a deleted path, fixes #42