Fix AIOOB in RenderPipe

Closes #1059