Added check if entity is living.