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

Set a limit to the factor.
Merge branch 'bugfix/10819_zoom_issue' into develop