draw a sprite