[ci skip]fix: debug draw remains after remove the last PhysicsBody.

Split drawing process into two parts, and always perform `detachFromScene()` will solve the problem.