repair draw_pixel misplace