Adjusted gridline rendering, and fixed axes label rendering to integral rects.