Render the sprite only if it is changed.