IEEEtran, standalone, and XeLaTex: do not crop

I am using the following MWE.

\documentclass[tikz,class=IEEEtran]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[draw, line width=5pt,blue, fill=green](boxofgreen) {This box is green};
\end{tikzpicture}
\end{document}


When I compile with XeLatex the output PDF is not cropped.

However, when I compile with pdftex or lualatex the output PDF is cropped.

My file do not have blank lines at the end or before \end{document}

Is there any way to make it crop for XeLaTex?

\newcommand\pdfoutput{1} %bad hack for xelatex