Fixes infinite loop in corner dribbling
Fixes python crash