viewport properly renders grid