Add a set_visible method to the Sprite class and make Entity::set_visible work