fix scale viewport