Am trying to draw a simple rectangle and there seems to be minor issue with two of the endpoints (f and d in the following). I tried line cap=rect as suggested by Bad intersection of lines in TikZ but that did not seem to work. The resulting image:

\documentclass{standalone}
\setlength\PreviewBorder{5pt}%
\usepackage{tikz}
\newcommand*{\Width}{2.0}
\newcommand*{\Height}{3.0}
\newcommand*{\Depth}{1.0}
\begin{document}
\begin{tikzpicture}%
\coordinate (A) at ( 0, 0, \Depth);%
\coordinate (B) at (\Height, 0, \Depth);%
\coordinate (C) at (\Height, 0, 0);%
\coordinate (D) at (\Height, \Width, 0);%
\coordinate (E) at ( 0, \Width, 0);%
\coordinate (F) at ( 0, \Width, \Depth);%
\coordinate (G) at (\Height, \Width, \Depth);%
\coordinate (H) at ( 0, 0, 0);%
%
\draw [blue, ultra thick,line cap=rect]%
(A) -- (B) -- (C) -- (D) -- (E) -- (F) -- cycle;%
\draw [blue, ultra thick,line cap=rect]%
(B) -- (G) -- (F) -- (E) -- (D) -- (G) -- cycle;%
\path (D) [right] node {$d$};% Problem Point 1
\path (F) [left ] node {$f$};% Problem Point 2
\end{tikzpicture}%
\end{document}
This problem about TikZ: changing colour of a path half way along seems related, but I do not understand how to adapt that to my problem.


