Fix Viewport crashes when not in tree
Fix Viewport crashes when not in tree

guilhermefelipecgs/godot,Zylann/godot,Faless/godot,firefly2442/godot,godotengine/godot,vnen/godot,Zylann/godot,vnen/godot,pkowal1982/godot,guilhermefelipecgs/godot,vnen/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,Valentactive/godot,Valentactive/godot,sanikoyes/godot,godotengine/godot,sanikoyes/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,akien-mga/godot,Valentactive/godot,Shockblast/godot,BastiaanOlij/godot,Valentactive/godot,ZuBsPaCe/godot,godotengine/godot,akien-mga/godot,Faless/godot,Faless/godot,Shockblast/godot,honix/godot,Faless/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,honix/godot,firefly2442/godot,DmitriySalnikov/godot,pkowal1982/godot,ZuBsPaCe/godot,vkbsb/godot,Zylann/godot,akien-mga/godot,Shockblast/godot,firefly2442/godot,josempans/godot,Shockblast/godot,DmitriySalnikov/godot,godotengine/godot,BastiaanOlij/godot,honix/godot,Shockblast/godot,BastiaanOlij/godot,pkowal1982/godot,Valentactive/godot,Faless/godot,josempans/godot,guilhermefelipecgs/godot,godotengine/godot,Valentactive/godot,firefly2442/godot,pkowal1982/godot,vkbsb/godot,sanikoyes/godot,vnen/godot,sanikoyes/godot,godotengine/godot,honix/godot,Faless/godot,vkbsb/godot,Zylann/godot,josempans/godot,sanikoyes/godot,DmitriySalnikov/godot,BastiaanOlij/godot,vkbsb/godot,josempans/godot,BastiaanOlij/godot,Zylann/godot,akien-mga/godot,ZuBsPaCe/godot,josempans/godot,Faless/godot,pkowal1982/godot,guilhermefelipecgs/godot,firefly2442/godot,BastiaanOlij/godot,josempans/godot,pkowal1982/godot,DmitriySalnikov/godot,Valentactive/godot,honix/godot,vkbsb/godot,godotengine/godot,vkbsb/godot,akien-mga/godot,pkowal1982/godot,Zylann/godot,Valentactive/godot,guilhermefelipecgs/godot,vnen/godot,sanikoyes/godot,josempans/godot,vkbsb/godot,sanikoyes/godot,pkowal1982/godot,Shockblast/godot,vkbsb/godot,ZuBsPaCe/godot,akien-mga/godot,vnen/godot,guilhermefelipecgs/godot,godotengine/godot,firefly2442/godot,DmitriySalnikov/godot,Faless/godot,josempans/godot,vnen/godot,akien-mga/godot,DmitriySalnikov/godot,Shockblast/godot,ZuBsPaCe/godot,honix/godot,Shockblast/godot,akien-mga/godot,firefly2442/godot,BastiaanOlij/godot,Zylann/godot,firefly2442/godot,Zylann/godot,sanikoyes/godot,vnen/godot,DmitriySalnikov/godot