Fix for the bodies disappearing problem.