Value of x in sizes is invalid

The x value should be multiplied by the scale, not divided.