Fixed bug in wrong arrow move