Re #10819. Changed the expression for calculating the zoom factor.

Set a limit to the factor.
Merge remote-tracking branch 'origin/bugfix/10819_zoom_issue'