fixed scaling issue in jscrop