Fix unhandled case for adjustScaleWithViewport()
[Title] Fix unhandled case for adjustScaleWithViewport()
[Issue#] P130912-03310
[Problem] adjustScaleWithViewport() returns incorrectly adjusted value even
it's inside the minimum and maximum scale factor range
[Cause] adjustScaleWithViewport() is not handling the case of maximum scale
factor is smaller than minimum scale factor
[Solution] Consider minimum scale factor as a maximum scale factor if minimum
scale factor is larger than maximum scale factor
Change-Id: I1724dbb3736e55ad4e9e5ca9fd3568caf59f95b6