Fixed some bugs with processing the scene graph during a render. Fixed a bug with textures not getting pixel data when passed a valid surface.