Fix two for loops in controls.cpp.