How to draw a well formed grid absolutely positioned on a page with tikz?
Each of the following pages has some problem. Is there a rounding error somewhere?
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage{tikz}
\usetikzlibrary{calc}
\date{}
\title{}
\begin{document}
\thispagestyle{empty}
% wrong join on left, not closed on right
\begin{tikzpicture}[remember picture, overlay]
\draw[xshift=-1mm,yshift=-1mm,step=8.0mm,thin,black] ($(current page.south west) + (17mm, 17mm)$) grid ($(current page.south west) + (17mm,17mm) + (176mm,264mm)$);
\end{tikzpicture}
\pagebreak
\thispagestyle{empty}
% wrong join on left, not closed on right
\begin{tikzpicture}[remember picture, overlay]
\draw[xshift=0mm,yshift=0mm,step=8.0mm,thin,black] ($(current page.south west) + (17mm, 17mm)$) grid ($(current page.south west) + (17mm,17mm) + (176mm,264mm)$);
\end{tikzpicture}
\pagebreak
\thispagestyle{empty}
% wrong join on left, wrong join on right
\begin{tikzpicture}[remember picture, overlay]
\draw[xshift=0mm,yshift=0mm,step=8.0mm,thin,black] ($(current page.south west) + (17mm, 17mm)$) grid ($(current page.south west) + (17mm,17mm) + (177mm,265mm)$);
\end{tikzpicture}
\end{document}

