gridlines and labels are drawn in world space and set to screen space margins when they're out of bounds. temporarily moved label drawing back into drawGrid.