use targetSize's ratio instead of widget editor's ratio