Fixed crash if render target textures are used while the device is lost