Fixed bug where the element path and format state wasn't properly updated if you had the wordcount plugin enabled.