viewport correction