try scale avgX and avgY