Fix bug #10075 with cursor drawing in an hscrolled window.