Fixed trouble with fbo in render to texture.