fix viewport scale settings