Client: Fixed window resizing bug.