You can’t use any alphao verlay when you render the background grey !! Use Render Properties-> Film → Transparent.