Fix various parts of the text editor toolbar