Fix crash in Space2DSW::test_body_motion()
Fix crash in Space2DSW::test_body_motion()

Fixes #9692.

FateAce/godot,Zylann/godot,Brickcaster/godot,firefly2442/godot,zicklag/godot,DmitriySalnikov/godot,RandomShaper/godot,ex/godot,n-pigeon/godot,firefly2442/godot,honix/godot,honix/godot,NateWardawg/godot,Valentactive/godot,josempans/godot,RandomShaper/godot,sanikoyes/godot,Paulloz/godot,Shockblast/godot,ex/godot,josempans/godot,pkowal1982/godot,okamstudio/godot,RebelliousX/Go_Dot,okamstudio/godot,mcanders/godot,pkowal1982/godot,jejung/godot,NateWardawg/godot,ex/godot,mcanders/godot,okamstudio/godot,BastiaanOlij/godot,RebelliousX/Go_Dot,Brickcaster/godot,BastiaanOlij/godot,ageazrael/godot,jejung/godot,Zylann/godot,Faless/godot,pkowal1982/godot,vnen/godot,guilhermefelipecgs/godot,ex/godot,RandomShaper/godot,Brickcaster/godot,guilhermefelipecgs/godot,josempans/godot,ageazrael/godot,BastiaanOlij/godot,Shockblast/godot,RandomShaper/godot,firefly2442/godot,BastiaanOlij/godot,n-pigeon/godot,tomreyn/godot,vkbsb/godot,josempans/godot,Paulloz/godot,NateWardawg/godot,Shockblast/godot,Shockblast/godot,josempans/godot,pkowal1982/godot,ex/godot,godotengine/godot,NateWardawg/godot,BastiaanOlij/godot,akien-mga/godot,ZuBsPaCe/godot,MarianoGnu/godot,sanikoyes/godot,tomreyn/godot,okamstudio/godot,Zylann/godot,DmitriySalnikov/godot,vkbsb/godot,akien-mga/godot,Faless/godot,godotengine/godot,josempans/godot,BastiaanOlij/godot,okamstudio/godot,pkowal1982/godot,Valentactive/godot,MarianoGnu/godot,okamstudio/godot,Shockblast/godot,ex/godot,Paulloz/godot,firefly2442/godot,NateWardawg/godot,n-pigeon/godot,zicklag/godot,okamstudio/godot,RebelliousX/Go_Dot,NateWardawg/godot,guilhermefelipecgs/godot,Brickcaster/godot,RandomShaper/godot,tomreyn/godot,Faless/godot,mcanders/godot,mcanders/godot,zicklag/godot,FateAce/godot,akien-mga/godot,vnen/godot,akien-mga/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,Valentactive/godot,josempans/godot,vnen/godot,RandomShaper/godot,sanikoyes/godot,DmitriySalnikov/godot,Paulloz/godot,sanikoyes/godot,DmitriySalnikov/godot,NateWardawg/godot,groud/godot,godotengine/godot,Faless/godot,pkowal1982/godot,akien-mga/godot,Faless/godot,RebelliousX/Go_Dot,MarianoGnu/godot,Brickcaster/godot,tomreyn/godot,Brickcaster/godot,Shockblast/godot,groud/godot,firefly2442/godot,Zylann/godot,Valentactive/godot,firefly2442/godot,Zylann/godot,sanikoyes/godot,vkbsb/godot,jejung/godot,firefly2442/godot,NateWardawg/godot,BastiaanOlij/godot,vnen/godot,godotengine/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,vnen/godot,ZuBsPaCe/godot,godotengine/godot,Zylann/godot,honix/godot,NateWardawg/godot,Paulloz/godot,ageazrael/godot,Valentactive/godot,Faless/godot,ex/godot,MarianoGnu/godot,Brickcaster/godot,zicklag/godot,ageazrael/godot,vkbsb/godot,RebelliousX/Go_Dot,Faless/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,Valentactive/godot,Shockblast/godot,vnen/godot,Shockblast/godot,ZuBsPaCe/godot,MarianoGnu/godot,Paulloz/godot,godotengine/godot,okamstudio/godot,akien-mga/godot,firefly2442/godot,ex/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,akien-mga/godot,Zylann/godot,n-pigeon/godot,groud/godot,vnen/godot,MarianoGnu/godot,honix/godot,mcanders/godot,jejung/godot,josempans/godot,vkbsb/godot,groud/godot,guilhermefelipecgs/godot,n-pigeon/godot,FateAce/godot,vkbsb/godot,vkbsb/godot,vnen/godot,godotengine/godot,MarianoGnu/godot,Zylann/godot,ageazrael/godot,Valentactive/godot,ageazrael/godot,tomreyn/godot,sanikoyes/godot,jejung/godot,RebelliousX/Go_Dot,n-pigeon/godot,honix/godot,DmitriySalnikov/godot,n-pigeon/godot,Paulloz/godot,honix/godot,ZuBsPaCe/godot,pkowal1982/godot,groud/godot,akien-mga/godot,Faless/godot,okamstudio/godot,sanikoyes/godot,zicklag/godot,mcanders/godot,vkbsb/godot,pkowal1982/godot,MarianoGnu/godot,godotengine/godot,ageazrael/godot,FateAce/godot,ZuBsPaCe/godot,groud/godot,okamstudio/godot,FateAce/godot,jejung/godot,zicklag/godot,DmitriySalnikov/godot,sanikoyes/godot,FateAce/godot,RandomShaper/godot,Valentactive/godot,ZuBsPaCe/godot