Set rendered flag to false when destroying too.