[Post-1.4] lens iop: Automatically set scale.

Currently, when enabling lens correction, scale defaults to 1.  This causes black borders with lenses that have pincushion distortion, requiring the user to click the autoscale button.

This patch performs the calculation automatically.