Small optimizations made in rendering calls