Image ratio is locked by default in Image2 dialog.
Changed the way lock ratio state is calculated.
Enforced lock ratio setup algorithm to consider dynamic resizing and edge cases with tricky rounding.