Added viewport scaling.