Dead bodies don't immediately float. It takes a few days. Until they begin to decompose which causes methane and CO2 to get trapped in the body they sink to the bottom just as easily as living bodies.