forced an additional rendering pass to fill buffers to fix swapbuffers flashing bug.