Made Viewport static, used viewport methods not approxPoint