[Tex/LaTex] image inside columns inside block in beamer

beamercolumnsgraphics

I try to put an image in columns environment inside a block environment in beamer.

Somehow my image is shifting outside the block.

Here's an example

\documentclass{beamer}
\usetheme{Darmstadt}
\begin{document}
\begin{frame}{Problem}
\begin{block}{look at that}
\begin{columns}
    \begin{column}{.4\textwidth}
    \rule{.3\textwidth}{.3\textwidth}
    \end{column}
    \begin{column}{.6\textwidth}
    Nothing of great importance
    \end{column}
\end{columns}
\end{block}
\end{frame}

\end{document}

I tried an ugly hack with a flushright environment around the image, however then the image is shifting downwards which only looks slightly better.

(How) can this be solved?

Best Answer

\documentclass{beamer}
\usetheme{Darmstadt}
\begin{document}
\begin{frame}{Problem}
\begin{block}{look at that}
\begin{columns}
    \begin{column}{.3\linewidth}
    \rule{\columnwidth}{\columnwidth}
    \end{column}
    \begin{column}{.6\linewidth}
    Nothing of great importance
    \end{column}
\end{columns}
\end{block}
\end{frame}

\end{document}
Related Question