render a sprite