Fixes to FBO, textures and Scenegraph