restored viewport scaling