Not sure if it's a bug or not, but either way, it is very annoying.
When you start typing a private message, and then click somewhere else on your screen, it closes the message you were typing, and then you have to type it all over again. A fix would be nice.