fix viewport