If I define a macro which uses a mdframed box, this seems to disable csquotes (red box). But using mdframed directly (i.e., without defining it via a macro), then the csquotes package can do its job just fine (green box).

How can I define an mdframed environment within a macro and also use the nice features of the csquotes package?
References:
Code:
\documentclass{article}
\usepackage{mdframed}
\usepackage{xcolor}
%%% https://tex.stackexchange.com/questions/50712/automatically-convert-quotations-in-the-form-of-abc-to-become-abc
\usepackage{csquotes}
\MakeOuterQuote{"}
\mdfsetup{frametitlerule=true, frametitlerulecolor=brown}
\newcommand{\HelloWorld}{%
\begin{mdframed}[backgroundcolor=red!25,frametitle={Usage of mdframed via a macro (Quotes Are Incorrect)}]
"Hello World."
\end{mdframed}%
}%
\begin{document}
\HelloWorld
\begin{mdframed}[backgroundcolor=green!25,frametitle={Direct usage of mdframed (Quotes Are Correct)}]
"Hello World."
\end{mdframed}%
\end{document}
