In this MWE the arrow "tip" i. e. the lower little blue line of the arrow is not at the same level as the dashed black line. How can I get it on the same line? Has it to do with baseline?(I looked for other cases e. g. https://tex.stackexchange.com/questions/46853/tikz-large-arrow-tips-at-the-end-of-smooth-curves but did not succeed.)
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[|-|, blue] (1,4)--(1,3)node[midway,right]{$h_1$};
\draw[black, densely dashed] (0.5,3)--(1.2,3);
\end{tikzpicture}
\end{document}

