Infinite Loop in Prerenderer
Currently a break is missing in the prerenderer when the number of samples read is zero.