Update viewport scale