[Window] drawCursor improved.