Fix page scaling on restore