Scale minSize/maxSize properly.