Leave the chat window within the screen

On smaller screens, the top of the chat window can appear so high that it is outside the screen, this fixes that.