fix FS#1065 - Display artifact with Ray/XLine