[Tex/LaTex] Sideways figure always rotates clockwise

rotating

I have a full page image I am displaying via

\usepackage{rotating}
...

\begin{sidewaysfigure}[counterclockwise]
        \centering
    \includegraphics[width=.9\textwidth]{visualizer}
    \caption[Quaternion visualizer GUI]{Quaternion visualizer GUI}
    \label{fig:QuatViz}
\end{sidewaysfigure}

\afterpage{\clearpage}

I would like to rotate it CCW, but in spite of me specifying the counterclockwise argument, it rotates it clockwise. I've tried omitting the counter-clockwise argument (since from what I understand CCW is default), changing the image size and a few other things. This is the only sideways figure in my document. The clear page is so that the figure and all of the ones following it don't get pushed to the end of the chapter. What am I doing wrong?
Thanks

Best Answer

\usepackage[counterclockwise, figuresleft]{rotating}