Remove yet another ref to the windows document