Yes. I get it all the time. I simply right click and select "undo" and it fixes it and adds all the text back. Then I just add a space after after my last sentence and add the smiley in again. Works like a charm.
That ought to help ya.