fixbug: imagepreview scale bug