paint trace with background color