I was able to resolve it. I had to place the previous HTML in the template inside of a container div. After that the container had no height because the child elements were floating, which causes any sibling element to be relative to it at the same position. So I also had to add a clearfix hack to that container:
.mm-exhibition-container:after {
content: " ";
display: block;
clear: both;
}