Added a workaround for Surface resize failure on realtime playback end that Maksym had seen.