Fixed Window::GetContentsRect() method