Fixed a bunch of rendering issues with sparkline.