Fix firefox bug with text overflow