Fix unhandled case for adjustScaleWithViewport()