fixed bug when exploring using arrow key
Merge branch 'ray'