Fixed offscreen rendering to texture using FBO