set overflow-x: hidden on Firefox only

workaround crazy Firefox-only behavior when selecting newlines

closes #3549