fixed scale bug for init img