fix bug on get crop zone width and height