Fix directions mode selector. Closes #4