RenderRoI: always check for NaNs after a render, and convert them to 1.
if found.