Fixing display issues on Firefox 29