Fix text-overflow in Firefox.

text-overflow doesn't work in Firefox if we don't hide the overflow first.