# pgfplots: problem in the legend using custom marks

With the help of \pgfdeclareplotmark I defined a custom mark for a plot and it worked as expected; however, in the legend, the mark appears with a vertical shift. What is causing this problem and how can it be prevented?

\documentclass{article}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.8}

\pgfdeclareplotmark{*)}

\begin{document}

\begin{tikzpicture}
\begin{axis}[]
coordinates {
(-2,3)
(1,-5)
};
\end{axis}
\end{tikzpicture}

\end{document}

-

Interestingly, this can be fixed by using (0pt, 0pt) instead of (0,0) in the plot mark definition. Some PGF vs. TikZ problem, perhaps.

\documentclass{article}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.8}

\pgfdeclareplotmark{*)}

\begin{document}

\begin{tikzpicture}
\begin{axis}[]
coordinates {
(-2,3)
(1,-5)
};