fix in cropimg: no more xpos=-1