Fixed texture binding bug with render-to-texture