Bug fixes for beginRender/endRender