Fixing render calls