fix some bug of Draw pic