Fix broken layout in Firefox

This closes #31.