Did you open the Steam overlay while the chat window was visible? If so you should just have to hit Shift to get back to normal, or click and hold to move (briefly).