Oops, remove some duplicate code.

Moved this to the inlined SetRenderFrameBuffer().