Scale minSize/maxSize properly.

This fixes #40 issue with minSize/maxSize scaling when using boxWidth/boxHeight or trueSize.