Tweak to canvas sample