When sizing the zoom handler, set the viewport size.