fix viewport offset