Fix zooming and viewport scaling in small resolution mode.