Fixing warning 4701 of bestCollision (thanks to Ensiform)