Updated the drawing of the sprite.