Fix endless controller iteration
Fix endless controller iteration

Fixes #29846

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