I am creating TikZ pictures using some external images in the following manner:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{figure}[htb]
\centering\small
\begin{tikzpicture}
\coordinate (O) at (0,0,0);
\pgfdeclareimage[width=2cm]{moon}{moon.png}
\node (moonn) at (O) {\pgfbox[center,center]{\pgfuseimage{moon}}};
\end{tikzpicture}
\caption{This is a long caption. As you can see it interferes with the Moon!}
\end{figure}
\end{document}
The problem is that there does not seem to be a bounding box around the image, and it thus interferes with the caption:

How can I solve this problem? Am I using wrong code?
Appendix
Used image:

\includegraphicscommand to insert an image in a node:\node (moon) at (O) {\includegraphics[width=2cm]{moon}};works. Do you have a particular reason for using\pgfdeclareimage? – Jake Jun 27 '13 at 12:23