minor draw loop optimizations