fixed issue where dragging direction would stop arrow keys working