Minor fix: caret position is now correct with centered text and empty content on Firefox