Fix redundant horizontal scrollbar in HTML editor (#1489950)