Correct Firefox 29 layout behavior