Fix to #537

Also fixes a bug where the teaser-app footer overlays the top border of
the teaser, making it look like it has no top border.