fix clip image bug