Fix for inaccurate game winner detection