I have made a fitted node around Node1, and I'd like to add another node directly on top of fittedNode with the same width as the fittedNode.
This is what I have so far:
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{tikz} % Tikz diagrams
\usetikzlibrary{backgrounds,fit}
\begin{document}
\begin{tikzpicture}
\node[draw=black, fill=white] at (0,0) (Node1) {Node 1};
\begin{scope}[on background layer]
\node[draw=black, fill=blue!10, fit=(Node1.south west) (Node1.north east)] (fittedNode) {};
\end{scope}
\node[draw=black, above] at (fittedNode.north) (Node2) {Node 2};
\end{tikzpicture}
\end{document}
but Node2 does not have the same width as fittedNode, and also the bottom line of Node2 overlaps with the top line of the fittedNode making the overall line appear thicker, whereas they should just share a single line there.



