fixing viewport scale