Fix bug in viewport with loading of renders