Fixed failedGrid check after direction being chosen.