Did some code rearranging to try and get RenderPebble to work. But the doRender() function is never called