Fix for crash when changing style with autocorrect shortening the word